package com.example.week8_fragment;

import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.widget.Button;

public class MyButton extends Button{

	public MyButton(Context context) {
		super(context);
		setBackgroundColor(Color.GREEN);
	}

	public MyButton(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
		setBackgroundColor(Color.GREEN);
	}

	public MyButton(Context context, AttributeSet attrs) {
		super(context, attrs);
		setBackgroundColor(Color.GREEN);
	}

	@Override
	public void setBackgroundColor(int color) {
		super.setBackgroundColor(color);
	}
}
